GrapeCity.Xaml.CalcEngine
Evaluate(Object[]) Method


GrapeCity.CalcEngine.Functions Namespace > CalcIsOddFunction Class > Evaluate Method : Evaluate(Object[]) Method

The args contains 1 item: number.

Number is the value to test. If number is not an integer, it is truncated.

Checks whether the number is odd.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As Object _
) As Object
'Usage
 
Dim instance As CalcIsOddFunction
Dim args() As Object
Dim value As Object
 
value = instance.Evaluate(args)
public override object Evaluate( 
   object[] args
)

Parameters

args

The args contains 1 item: number.

Number is the value to test. If number is not an integer, it is truncated.

Return Value

A System.Boolean value that indicates the evaluate result.
See Also

Reference

CalcIsOddFunction Class
CalcIsOddFunction Members
Overload List